package cn.wolfcode.web.controller;

import cn.wolfcode.domain.Calculate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CalculateController {

    @GetMapping("/cal")
    public String cal(Calculate calculate){
        return calculate.toString();
    }
}
